#ifndef COMPLEX_H
#define COMPLEX_H

#include "dsp.h"

typedef struct
{
	typedsp re;
	typedsp im;		
}complex;



/*
Naming rules: all functions must have postfix "Cmplx". 
For example: myFuncCmplx
*/


// abs of complex number
typedsp	absCmplx(   complex);

// squre of complex number abs 
typedsp	absSqrCmplx(complex);

// complex numbers division
complex	divCmplx( complex, complex);

// complex numbers multiplication 
complex	mulCmplx( complex, complex);

// complex number creation
complex numCmplx( typedsp, typedsp);

// complex number sum	
complex	sumCmplx( complex, complex);



#endif

